<?php


// $arr = array(
// 	'key'=>'36aa4cbfe65ff01bf56ddbfadd93943a',
// 	'account'=>'bzl009',
// 	'pwd'=>'bzl009',
// 	'urlrtmp'=>'rtmp://zbpush.tcgqxx.com/zltc/5a20ca98c8894?auth_key=1512098507-db346dc925f08aa204079319ec9aa14f'
// );
// $json = json_encode($arr);
// $ch = curl_init("http://zbm.qxdqapp.com/adm.php/Home/Query/searchUrl");
// curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// curl_setopt($ch, CURLOPT_POST, 1);
// curl_setopt($ch, CURLOPT_POSTFIELDS, $json);
// $out = curl_exec($ch);
// curl_close($ch);


$arr = array(
	'key'=>'36aa4cbfe65ff01bf56ddbfadd93943a',
	'account'=>'bzl009'
);
$json = json_encode($arr);
$ch = curl_init("http://zbm.qxdqapp.com/adm.php/Home/Query/queryDuration");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $json);
$out = curl_exec($ch);
curl_close($ch);

// print_r($out);
$td = json_decode($out,1);
print_r($td);
// echo $out;